package com.liuqh.tag.easyexcel;

import java.util.List;

import com.alibaba.excel.EasyExcel;
import com.alibaba.excel.support.ExcelTypeEnum;

/**
 * @Description TODO(这里用一句话描述这个类的作用)
 *
 * @author liuqinghua
 * @date 2024-6-20
 */
public class ParseUtils {
    public static void main(String[] args) {
        ParseListen parseListen = new ParseListen();
        EasyExcel.read("D:/git/tag/中职学科.xlsx", DicData.class, parseListen).sheet().doRead();
        List<OutDicData> dataList = parseListen.getOutDataList();
        EasyExcel.write("D:/git/tag/中职学科2.xlsx").excelType(ExcelTypeEnum.XLSX).sheet("报表").doWrite(dataList);
    }
}
